#include <stdio.h>
#include <string.h>

int main(int argc, const char  *argv[])
{
    fputs("yeshouxiangbei\n",stdout);

    FILE *fp= fopen("./user.text","w+");
    if(fp==NULL)
    {
        printf("文件打开失败\n");
        return 0;
    } 

    fputs("yiyandingzheng",fp);
    fclose(fp);

    return 0;
}